package com.margo.project.xml.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.margo.project.xml.model.MargoResultVO;

@Controller
@RequestMapping("/xml")
public class MargoXMLController {

	@RequestMapping("/code")
	@ResponseBody
	public MargoResultVO xml() {
		MargoResultVO xml=new MargoResultVO();
		xml.setCode("1");
		xml.setMessage("成功");
		return xml;
	}
}
